import { Form, FormInstance, Input } from 'antd'
import './index.less'
export default function GYSLogin(props: { form: FormInstance }) {
  return (
    <div className="gys_login_page">
      <Form form={props.form}>
        <Form.Item name="code" rules={[{ required: true, message: '请输入组织编码' }]}>
          <Input placeholder="请输入组织编码" />
        </Form.Item>
        <Form.Item name="phone" rules={[{ required: true, message: '请输入手机号' }]}>
          <Input placeholder="请输入手机号" />
        </Form.Item>
        <Form.Item name="password" rules={[{ required: true, message: '请输入密码' }]}>
          <Input.Password placeholder="请输入密码" />
        </Form.Item>
      </Form>
    </div>
  )
}
